Revert "Avoid resizing mutation in subst-char-in-string"
authorMattias Engdegård <mattiase@acm.org>
Sun, 12 May 2024 13:18:19 +0000 (15:18 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 12 May 2024 13:18:25 +0000 (15:18 +0200)
commit9d7b22fcb408b3d864d4d74d14ab428a2706b45d
treed680e03c468e41ddcb43db8b63dc7739d848be8c
parent9365feadccf1e28438e41c4ce8bf60ab8e4e1def
Revert "Avoid resizing mutation in subst-char-in-string"

This reverts commit 184d6e8c02345583264b053bb59ae031bb1c5a00.

It wasn't quite correct: the path through `string-replace` would not
preserve text properties in the input string, which broke Gnus.
lisp/subr.el